/**
 * QuerySource.java
 * 卢晓峰
 * Email：lxf9601@gmail.com
 * QQ：297051898
 * Created by 2010-7-17
 */
package com.autoabacus.core.config.provider;

import java.util.Map;

/**
 * HQL查询源
 * @author 卢晓峰
 */
public class QuerySource {
	
	/** 配置表名 */
	private String tableName;
	
	/** 排序字段名 以","隔开*/
	private String orders;
	
	/** 查询指令 select insert update delete*/
	private String queryCommand;
	
	/** 更新用参数 */
	private Map<String, Object> updateParams;
	
	/** 查询参数 */
	private Map<String, Object> parameters;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getOrders() {
		return orders;
	}

	public void setOrders(String orders) {
		this.orders = orders;
	}

	public String getQueryCommand() {
		return queryCommand;
	}

	public void setQueryCommand(String queryCommand) {
		this.queryCommand = queryCommand;
	}

	public Map<String, Object> getParameters() {
		return parameters;
	}

	public void setParameters(Map<String, Object> parameters) {
		this.parameters = parameters;
	}

	public Map<String, Object> getUpdateParams() {
		return updateParams;
	}

	public void setUpdateParams(Map<String, Object> updateParams) {
		this.updateParams = updateParams;
	}
	
}
